package net.wanho.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Date;

/**
 * Author：汤小洋
 * Date：2023-08-18 9:14
 * Description：配置类
 */
@Configuration
public class SpringConfig {
    /**
     * <bean id="date" class="java.util.Date"/>
     * @return
     */
    @Bean
    public Date date(){
        return new Date();
    }

}
